package org.gap.dao;

import java.util.Set;

import org.gap.domain.Naf;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage Naf entities.
 * 
 */
public interface NafDAO extends JpaDao<Naf> {

	/**
	 * JPQL Query - findNafByNafLibelle
	 *
	 */
	public Set<Naf> findNafByNafLibelle(String nafLibelle) throws DataAccessException;

	/**
	 * JPQL Query - findNafByNafLibelle
	 *
	 */
	public Set<Naf> findNafByNafLibelle(String nafLibelle, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findNafByPrimaryKey
	 *
	 */
	public Naf findNafByPrimaryKey(String nafNaf) throws DataAccessException;

	/**
	 * JPQL Query - findNafByPrimaryKey
	 *
	 */
	public Naf findNafByPrimaryKey(String nafNaf, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findNafByNafNaf
	 *
	 */
	public Naf findNafByNafNaf(String nafNaf_1) throws DataAccessException;

	/**
	 * JPQL Query - findNafByNafNaf
	 *
	 */
	public Naf findNafByNafNaf(String nafNaf_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllNafs
	 *
	 */
	public Set<Naf> findAllNafs() throws DataAccessException;

	/**
	 * JPQL Query - findAllNafs
	 *
	 */
	public Set<Naf> findAllNafs(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findNafByNafNafContaining
	 *
	 */
	public Set<Naf> findNafByNafNafContaining(String nafNaf_2) throws DataAccessException;

	/**
	 * JPQL Query - findNafByNafNafContaining
	 *
	 */
	public Set<Naf> findNafByNafNafContaining(String nafNaf_2, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findNafByNafLibelleContaining
	 *
	 */
	public Set<Naf> findNafByNafLibelleContaining(String nafLibelle_1) throws DataAccessException;

	/**
	 * JPQL Query - findNafByNafLibelleContaining
	 *
	 */
	public Set<Naf> findNafByNafLibelleContaining(String nafLibelle_1, int startResult, int maxRows) throws DataAccessException;

}